//package com.qianyu.api.controller.back;
//
//
//import com.qianyu.core.entity.base.Result;
//import com.qianyu.core.sender.ActiveMqSender;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import lombok.RequiredArgsConstructor;
//import org.apache.activemq.command.ActiveMQQueue;
//import org.springframework.web.bind.annotation.GetMapping;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//@Api(tags = "测试", description = "wangzhicheng")
//@RestController
//@RequestMapping("/api/mq")
//@RequiredArgsConstructor
//public class MqController {
//
//    private final ActiveMqSender activeMqSender;
//
//    @GetMapping("/sendMessage")
//    @ApiOperation("test")
//    public Result<String> sendMessage(){
//        activeMqSender.sendTextMssage("Hello World");
//        return Result.success();
//    }
//}
